import request from '@/utils/request'
import type { AnyObject } from './search'


export default{

  reqToken(data:AnyObject){
    return request.post<any,AnyObject>(`http://sph-h5-api.atguigu.cn/api/user/passport/login`,data)
   },
   reqUserInfo(){
    return request.get<any,AnyObject>(`http://sph-h5-api.atguigu.cn/api/user/passport/auth/getUserInfo`)
   }
}